package pl.edu.uj.tcs.blef.utils;

public final class Four extends AbstractBet {

private Card card;
	
	public Four(Card card){
		this.card = card;
	}

	@Override
	public String getCode() {
		return "FOUR " + card.getCode();
	}

	@Override
	public String getName() {
		return "FOUR OF A KIND " + card.getName();
	}

	@Override
	public int getPriority() {
		return card.getPriority() + 200000;
	}
	
	public Card getCard(){
		return this.card;
	}

}
